<style>
.mod-group {
    margin: 0 auto;
	margin-top: 5px;
    width: 94%;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
}
.fui-icon-group .fui-icon-col-sm {
    margin:10px 0;
}
.badge {
    left: 2rem;
    top: 0;
}
</style>
<div class='fui-page fui-page-current' ng-if="pagedata.op=='main'">
	<div class='fui-content' style="top:0;background:#f2f5fc">
		<div style="top:0;background: linear-gradient(to bottom, #ddeff3, #f2f5fc);">
		<div class="bottombg" style="padding:1rem 0.7rem;padding-bottom:0.2rem;">
			<div class="bold" style="font-size:1rem">顾问中心，</div>
			<div class="fui-page-desc gray">您已经是顾问了！请及时处理客户问题！</div>
		</div>
		<div class="bottombg" style="padding:0.5rem;">
			<div class="fui-cellone" style="background: linear-gradient(to right, #fef6f4, #edf6fd);border-radius:0.5rem;align-items:stretch">
				<div class="fui-cellone-icon" style="padding-right:0.3rem">
					<img ng-src="{{tomedia(pagedata.guwen.logo)||'../addons/jy_aixiaoyi/resource/images/nan1.png'}}" style="border-radius:0.5rem;width: 2.6rem;height: 2.6rem;"/>
				</div>
				<div class="fui-cellone-text">
					<div class="bold" style="width:100%;font-size:1rem">{{pagedata.guwen.title||'顾问名称'}}</div>
					<div class="gray" style="font-size:0.6rem">
						<div style="width:100%;font-size:0.6rem">{{pagedata.guwen.sextitle||'男'}} {{pagedata.guwen.mobile||'150****6688'}} </div>
					</div>
					<div class="gray" style="padding-top:0.3rem">
						<div style="width:100%;font-size:0.6rem">剩余次数：{{pagedata.guwen.shetimes ||'0'}}</div>
					</div>
				</div>
				<div class="fui-cellone-remark noremark">
				<span class="label label-success" href="javascript:;" ng-click="pagedata.showset=true" style="background:#dcf4f4;color:#00b7a3;padding:0.3rem"><i class="icon icon-set" style="font-size:0.65rem"></i> 设置</span>
				</div>
			</div>
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
				<div class="bold">我的描述</div>
				<div class="text" style="padding:0 0.5rem">
				{{pagedata.guwen.desc ||'******'}}
				</div>
			</div>
			<div style="background:#ffff;border-radius:0.5rem;padding:0.5rem;margin-top:0.5rem">
				<div class="bold">我的客户</div>
				<div ng-repeat="item in pagedata.list" class="fui-cellone" style="background:#fff;border-radius:0.5rem;align-items:stretch">
					<div class="fui-cellone-icon" style="padding-right:0.3rem">
						<img ng-src="{{tomedia(item.logo)||'../addons/jy_aixiaoyi/resource/images/nan1.png'}}" style="border-radius:0.5rem;width: 2.6rem;height: 2.6rem;"/>
					</div>
					<div class="fui-cellone-text">
						<div class="bold" style="width:100%;font-size:0.8rem">{{item.title||'顾问名称'}}</div>
						<div class="gray" style="font-size:0.6rem">
							<div style="width:100%;font-size:0.6rem">{{item.sextitle||'男'}} {{item.mobile||'150****6688'}} </div>
						</div>
						<div class="gray" style="padding-top:0.3rem">
							<div style="width:100%;font-size:0.6rem">剩余次数：{{item.shetimes ||'0'}}</div>
						</div>
					</div>
					<div class="fui-cellone-remark noremark">
					<span class="label label-success" href="javascript:;" ng-click="pagedata.showcong=true;pagedata.nowitem=item" style="background:#dcf4f4;color:#00b7a3;padding:0.3rem">充值次数</span>
					</div>
				</div>
				<div class="content-empty" ng-if="!pagedata.list || pagedata.list.length==0" style="margin-top: 0; position: relative; height: auto; background: none;">
					<div class="icon ">
						<i class="icon jinyunicon icon-information"></i>
					</div>
					<div class="content">暂时没有任何客户~</div>
				</div>
			</div>
		</div>
		</div>
		<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div ng-if="pagedata.showset" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:url('{{siteroot}}../core/resource/images/login-bg-sm.jpg');background-size: 100%;">
		<i class="closed icon icon-cuowu" ng-click="pagedata.showset=false"></i>
		<div class="top" style="margin-top:-2.5rem;z-index:108">
			<div class="c">
				<img style="width:3rem;border-radius:100%" src="../addons/jy_aixiaoyi/resource/images/nan.png"  />
			</div>
		</div>
		<div class="fui-line-title bold" style="padding-top:0">
			<div>完善资料</div>
		</div>
		<div class="fui-content" style="position:relative;background:none;height:auto;width:auto;padding:1rem 0.5rem;margin-bottom:1rem">
			<div style="padding:0 0.5rem">
				<div class="fui-code" style="background: none;border-radius: 0.5rem;padding-bottom:1rem">
				<div class="fui-cell-group radius" style="background:none">
					<div class="fui-cell must" style="height:auto;">
						<div class="fui-cell-label" style="width:3rem">手机号</div>
						<div class="fui-cell-info"><input type="text" class='fui-input' style="background-color:#f2f2f2" placeholder="请输入您的手机号"  ng-model="pagedata.guwen.mobile" /></div>
					</div>
					<div class="fui-cell" style="height:auto;">
						<div class="fui-cell-label" style="width:3rem">昵  称</div>
						<div class="fui-cell-info"><input type="text" class='fui-input' style="background-color:#f2f2f2" placeholder="请输入您的昵称"  ng-model="pagedata.guwen.title" /></div>
					</div>
					<div class="fui-cell" style="height:auto;">
						<div class="fui-cell-label" style="width:3rem">性  别</div>
						<div class="fui-cell-info">
							<div style="margin-right:0.8rem;float:left;margin-bottom:0.2rem">
								<input type="radio" ng-click="pagedata.guwen.sex=1" ng-checked="pagedata.guwen.sex==1" class="fui fui-radio fui-radio-danger verify-radio" name="radio2" value="1"> 男
							</div>
							<div style="margin-right:0.8rem;float:left;margin-bottom:0.2rem">
								<input type="radio" ng-click="pagedata.guwen.sex=2" ng-checked="pagedata.guwen.sex==2" class="fui fui-radio fui-radio-danger verify-radio" name="radio2" value="2"> 女
							</div>
						</div>
					</div>
				</div>
				</div>
				<button class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1.5rem;width:80%;background-color:#04be02;border-radius:1rem" href='javascript:;' ng-click="pagedata.showset=false;post(pagedata.guwen,'jy_aixiaoyi/guwen.index/setinfo/')">确认</button>
			</div>		
		</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showcong" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:url('{{siteroot}}../core/resource/images/login-bg-sm.jpg');background-size: 100%;">
		<i class="closed icon icon-cuowu" ng-click="pagedata.showcong=false"></i>
		<div class="top" style="margin-top:-2.5rem;z-index:108">
			<div class="c">
				<img style="width:3rem;border-radius:100%" src="../addons/jy_aixiaoyi/resource/images/nan.png"  />
			</div>
		</div>
		<div class="fui-line-title bold" style="padding-top:0">
			<div>{{pagedata.nowitem.title||'客户昵称'}}</div>
		</div>
		<div class="fui-content" style="position:relative;background:none;height:auto;width:auto;padding:1rem 0.5rem;margin-bottom:1rem">
			<div style="padding:0 0.5rem">
				<div class="fui-code" style="background: none;border-radius: 0.5rem;padding-bottom:1rem">
				<div class="fui-cell-group radius" style="background:none">
					<div class="fui-cell must" style="height:auto;">
						<div class="fui-cell-label" style="width:3rem">充值次数</div>
						<div class="fui-cell-info"><input type="number" class='fui-input' style="background-color:#f2f2f2" placeholder="请输入充值次数"  ng-model="pagedata.nowitem.congtime" /></div>
					</div>
				</div>
				</div>
				<button class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1.5rem;width:80%;background-color:#04be02;border-radius:1rem" href='javascript:;' ng-click="pagedata.showcong=false;post(pagedata.nowitem,'jy_aixiaoyi/guwen.index/setcong/')">确认</button>
			</div>		
		</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.tool.get_list('/guwen.index/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('/guwen.index/getlist/');
}
</script>